#ifndef _yk315_H
#define _yk315_H
#include "system.h"

#define REC_PORT 	GPIOA

#define D0_PORT 	GPIO_Pin_9
#define D1_PORT 	GPIO_Pin_10
#define D2_PORT 	GPIO_Pin_11
#define D3_PORT 	GPIO_Pin_12
#define VT_PORT 	GPIO_Pin_13

#define D0		PAin(9)					
#define D1		PAin(10)
#define D2		PAin(11)
#define D3		PAin(12)
#define VT		PAin(13)

#define D0_Down		1				
#define D1_Down		2
#define D2_Down		3
#define D3_Down		4
//#define VT_Down		PAin(13)
void yk315_Init(void);
u8 rec_315(void);





#endif

